package com.itheima.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

//声明springmvc配置类
@Configuration
// springmvc的ioc容器(子容器)只管理web层相关的bean
@ComponentScan({"com.itheima.controller", "com.itheima.config"})
//支持json自动转换, 日期转换等
@EnableWebMvc
public class SpringMvcConfig {
}
